/*
visqrt
Copyright (C) 2010  Bhupendra Aole

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
*/
/*
 * File: PointLight.java
 * Author: Bhupendra Aole
 * Date: Sep 2, 2010: 
 * 
 * Revisions:
 * ----------
 */

package aole.object;

import aole.math.Vec3;
import aole.plugin.VQLight;

/**
 * 
 */
public class PointLight implements VQLight {
	private Vec3 p;

	public PointLight() {
		this(new Vec3());
	}

	public PointLight(Vec3 pos) {
		p = pos;
	}

	/* (non-Javadoc)
	 * @see aole.plugin.VQLight#getPosition()
	 */
	public Vec3 getPosition () {
		return p;
	}

	public void readposition (String s) {
		p.read(s);
	}
}
